<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0"><script src="https://unpkg.com/vue@next"></script>
    <title>Document</title>
</head>
<body>
    <div id="app">
        <img v-bind:src="imgUrl" alt="">
        <!-- 简写 -->
        <img :src="imgUrl" alt="">
    </div>
    <script>
        const app = Vue.createApp({
            data(){
                return{
                  imgUrl:"https://lmg.jj20.com/up/allimg/4k/s/02/2109250006343S5-0-lp.jpg"
                }
            }
            
        }).mount("#app")
    </script>
</body>
</html>